import { View } from '@tarojs/components';
import Card from 'components/CodeCard'
import s from './index.module.scss'
import code from './code.md'

export default function index() {
  return(
    <View>
      <Card
        title='perspective-origin'
        desc='perspective-origin定义视图的角度，第一个值为 x 轴，第二值为 y 轴，默认值是 50%,还可以设置方向值和像素值'
        renderCode={() => (
          <wemark md={code} link highlight type='wemark' />
        )}
      >
        <View className={s.container}>
          <View className={s.box}>mybox mybox mybox mybox mybox mybox</View>
        </View>
      </Card>
    </View>
  )
}

